import { defineStore } from 'pinia'

export const MaintenanceRegister = defineStore('MaintenanceRegister', {
  state: () => {
    return {
      pageName: '维护登记',
      tableData: [
        {
          id: 1,
          serialNumber: 'WH0982313',
          time: 'time',
          name: 'name',
          people: '张三丰',
          expenditure: 1300.0,
          content: '测试借用',
          state: '审批中'
        },
        {
          id: 2,
          serialNumber: 'WH0982313',
          time: 'time',
          name: 'name',
          people: '张三丰',
          expenditure: 1300.0,
          content: '测试借用',
          state: '审批中'
        },
        {
          id: 3,
          serialNumber: 'WH0982313',
          time: 'time',
          name: 'name',
          people: '张三丰',
          expenditure: 1300.0,
          content: '测试借用',
          state: '审批中'
        },
        {
          id: 4,
          serialNumber: 'WH0982313',
          time: 'time',
          name: 'name',
          people: '张三丰',
          expenditure: 1300.0,
          content: '测试借用',
          state: '审批中'
        },
        {
          id: 5,
          serialNumber: 'WH0982313',
          time: 'time',
          name: 'name',
          people: '张三丰',
          expenditure: 1300.0,
          content: '测试借用',
          state: '审批中'
        },
        {
          id: 6,
          serialNumber: 'WH0982313',
          time: 'time',
          name: 'name',
          people: '张三丰',
          expenditure: 1300.0,
          content: '测试借用',
          state: '审批中'
        },
        {
          id: 7,
          serialNumber: 'WH0982313',
          time: 'time',
          name: 'name',
          people: '张三丰',
          expenditure: 1300.0,
          content: '测试借用',
          state: '审批中'
        },
        {
          id: 8,
          serialNumber: 'WH0982313',
          time: 'time',
          name: 'name',
          people: '张三丰',
          expenditure: 1300.0,
          content: '测试借用',
          state: '审批中'
        },
        {
          id: 9,
          serialNumber: 'WH0982313',
          time: 'time',
          name: 'name',
          people: '张三丰',
          expenditure: 1300.0,
          content: '测试借用',
          state: '审批中'
        },
        {
          id: 10,
          serialNumber: 'WH0982313',
          time: 'time',
          name: 'name',
          people: '张三丰',
          expenditure: 1300.0,
          content: '测试借用',
          state: '审批中'
        },
        {
          id: 11,
          serialNumber: 'WH0982313',
          time: 'time',
          name: 'name',
          people: '张三丰',
          expenditure: 1300.0,
          content: '测试借用',
          state: '审批中'
        },
        {
          id: 12,
          serialNumber: 'WH0982313',
          time: 'time',
          name: 'name',
          people: '张三丰',
          expenditure: 1300.0,
          content: '测试借用',
          state: '审批中'
        },
        {
          id: 13,
          serialNumber: 'WH0982313',
          time: 'time',
          name: 'name',
          people: '张三丰',
          expenditure: 1300.0,
          content: '测试借用',
          state: '审批中'
        }
      ]
    }
  }
})
